/*
 *  Copyright (c) M2TK Project. All rights reserved.
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package m2tk.assistant.app.kernel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("t_elementary_stream")
public class ElementaryStreamEntity
{
    @TableId(type = IdType.INPUT)
    private Integer pid;
    @TableField("last_pct")
    private Long lastPct;
    @TableField("pkt_cnt")
    private Long packetCount;
    @TableField("pcr_cnt")
    private Long pcrCount;
    @TableField("tse_cnt")
    private Long transportErrorCount;
    @TableField("cce_cnt")
    private Long continuityErrorCount;
    @TableField("bitrate")
    private Integer bitrate;
    @TableField("ratio")
    private Double ratio;
    @TableField("stream_type")
    private Integer streamType;
    @TableField("is_scrambled")
    private Boolean scrambled;
    @TableField("category")
    private String category;
    @TableField("description")
    private String description;

    public Integer getPid()
    {
        return pid;
    }

    public void setPid(Integer pid)
    {
        this.pid = pid;
    }

    public Long getLastPct()
    {
        return lastPct;
    }

    public void setLastPct(Long lastPct)
    {
        this.lastPct = lastPct;
    }

    public Long getPacketCount()
    {
        return packetCount;
    }

    public void setPacketCount(Long packetCount)
    {
        this.packetCount = packetCount;
    }

    public Long getPcrCount()
    {
        return pcrCount;
    }

    public void setPcrCount(Long pcrCount)
    {
        this.pcrCount = pcrCount;
    }

    public Long getTransportErrorCount()
    {
        return transportErrorCount;
    }

    public void setTransportErrorCount(Long transportErrorCount)
    {
        this.transportErrorCount = transportErrorCount;
    }

    public Long getContinuityErrorCount()
    {
        return continuityErrorCount;
    }

    public void setContinuityErrorCount(Long continuityErrorCount)
    {
        this.continuityErrorCount = continuityErrorCount;
    }

    public Integer getBitrate()
    {
        return bitrate;
    }

    public void setBitrate(Integer bitrate)
    {
        this.bitrate = bitrate;
    }

    public Double getRatio()
    {
        return ratio;
    }

    public void setRatio(Double ratio)
    {
        this.ratio = ratio;
    }

    public Integer getStreamType()
    {
        return streamType;
    }

    public void setStreamType(Integer streamType)
    {
        this.streamType = streamType;
    }

    public Boolean getScrambled()
    {
        return scrambled;
    }

    public void setScrambled(Boolean scrambled)
    {
        this.scrambled = scrambled;
    }

    public String getCategory()
    {
        return category;
    }

    public void setCategory(String category)
    {
        this.category = category;
    }

    public String getDescription()
    {
        return description;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }
}
